package com.nuoniu.sibanyun.entity.crm.call.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @ClassName CrmCallTaskDetailUpdateDto
 * @Description TODO
 * @Author 白强
 * @Date 2022/3/21 10:46
 * @Version 1.0
 **/
@Data
@ApiModel("外呼任务详情-- 号码数量更新DTO ")
public class CrmCallTaskDetailUpdateDto {

    @ApiModelProperty(value = "租户ID")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "呼叫任务明细ID")
    private Long crmCallTaskDetailId;

    @ApiModelProperty(value = "上次拨打状态 0.未拨打 1.已拨打")
    @TableField("last_call_status")
    private Boolean lastCallStatus;

    @ApiModelProperty(value = "上次接通状态")
    @TableField("last_call_result")
    private Integer lastCallResult;

    @ApiModelProperty(value = "上次拨打时间")
    @TableField("last_call_time")
    private LocalDateTime lastCallTime;

    @ApiModelProperty(value = "呼叫次数")
    @TableField("call_count")
    private Integer callCount;

    @ApiModelProperty(value = "呼叫接通数量")
    @TableField("connect_count")
    private Integer connectCount;

    @ApiModelProperty(value = "通话时长（秒）")
    private Integer talkTime;
}
